$def with (name)
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<html>
	<link rel="stylesheet" type="text/css" href="/static/style.css" />

	<title>虚拟交易市场-登录</title>
	<body>						
		<div class="frame">
		<h1>
			登录
		</h1>
		<form action="redirect" method="post">
			<div class="login">
				<p>帐号: </p>
				<input type="input" class="input" name="name" value="$name">
				<p>密码: </p>
				<input type="password" class="password" name="passwd">
			</div>
			<p><input type="submit"  value="登录" /></p>
		</form>
		</div>
	</body>	
</html>

<!--CBOX START-->
<div id="cboxbutton" style="position: fixed; bottom: 8px; right: 16px; width: 200px; padding: 3px; text-align: center; cursor: pointer; background-color: #EDF3F7; border:#C3D7E5 1px solid;border-radius: 3px; font-family: Tahoma, sans-serif; font-size: 14px;color:black;" onclick="togglecbox()"><b>打开聊天</b></div>
<div id="cboxdiv" style="display: none; position: fixed; bottom: 48px; right: 16px; width: 200px; background: #EDF3F7; padding: 3px; line-height: 0;border:#C3D7E5 1px solid;border-radius: 3px;color:black;"></div>

<script type="text/javascript">
var cbvis = false;
var cbload = false;
var cbcookie = "cboxvis=";

function togglecbox () {
	var cbdiv = document.getElementById("cboxdiv");
	var cbbut = document.getElementById("cboxbutton");

	if (!cbvis) {
		if (!cbload) {
			cbdiv.innerHTML = '<iframe frameborder="0" width="200" height="305" src="http://www6.cbox.ws/box/?boxid=604803&amp;boxtag=atyv1q&amp;sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain6-604803" style="border:#EAB412 1px solid;border-bottom:0px" id="cboxmain6-604803"></iframe><iframe frameborder="0" width="200" height="75" src="http://www6.cbox.ws/box/?boxid=604803&amp;boxtag=atyv1q&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform6-604803" style="border:#EAB412 1px solid;border-top:0px" id="cboxform6-604803"></iframe>';
			cbload = true;
		}
		cbdiv.style.display = "block";
		cbbut.innerHTML = "关闭聊天";
	}
	else {
		cbdiv.style.display = "none";
		cbbut.innerHTML = "打开聊天";
	}
	cbvis = !cbvis;
	document.cookie = cbcookie+((cbvis)?1:0);
}
// Toggle Cbox open if it was previously
var cbcookiei = document.cookie.indexOf(cbcookie);
if (cbcookiei >= 0) {
	if (document.cookie.substring(cbcookiei+cbcookie.length, cbcookiei+cbcookie.length+1) === "1") {
		togglecbox();
	}
}
</script>
<!--CBOX END-->
<!--Google Analytics Start-->
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-19155569-4']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<!--Google Analytics End-->
